package com.ziyun.erp.modules.goods.dao;

import com.ziyun.erp.modules.goods.entity.GoodsProductEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 产品表
 * 
 * @author xueqz
 * @email 
 * @date 2018-08-21 08:46:29
 */
@Service("goodsProductDao")
public interface GoodsProductDao extends BaseMapper<GoodsProductEntity> {

    List<GoodsProductEntity> selectProductProperties(@Param("map") Map map);

    String getGoodsTypeByProductId(@Param("productId") Long productId);

    Boolean getMaterialType(@Param("productId") Long productId);
}
